import { guID } from "@/common.js" 
export const customForm = [
  {
    isCustomField: true,
    id: guID(),
    isShow: true,
    type: 'symptom',
    /*标题*/
    label: "症状",
    labelTextAlign: 0, // 0: 左对齐  1：居中   2：右对齐
    isLabelWidth: true,
    labelWidth: 90,
    unit: '', // 单位
    /*表单*/
    width: "",
    key1: `symptom`, // 
    value1: "", // 
    key2:'symptomOther',
    value2: "", // 
    defaultValue: "",
    options: [
      {id:'1', name:'无症状'}, {id:'2', name:'多饮'}, {id:'3', name:'多食'}, {id:'4', name:'多尿'}, {id:'5', name:'视力模糊'},
      {id:'6', name:'感染'}, {id:'7', name:'手脚麻木'}, {id:'8', name:'下肢浮肿'}, {id:'9', name:'体重明显下降'}, {id:'10', name:'其他'},
    ],
    placeholder: "",
    customClass: "",
    disabled: false,
    clearable: false,
    maxlength: 500,
    showWordLimit: false,
    /*校验*/
    required: false,
    validator: '() => {}',
    regExp: '/.*/',
    errmsg: '',
    /*事件*/
    onChange: '(e) => {}',
    onFocus: '(e) => {}',
    onBlur: '(e) => {}'
  },
  {
    isCustomField: true,
    id: guID(),
    isShow: true,
    type: 'bloodPressure',
    /*标题*/
    label: "血压",
    labelTextAlign: 0, // 0: 左对齐  1：居中   2：右对齐
    isLabelWidth: true,
    labelWidth: 90,
    unit: 'mmHg', // 单位
    /*表单*/
    width: "",
    key1: `systolicPressure`, // 收缩压是高压
    key2: `diastolicPressure`, // 舒张压是抵压
    value1: "", // 收缩压
    value2: "", // 舒张压
    defaultValue: "",
    options: [],
    placeholder1: "收缩压",
    placeholder2: "舒张压",
    customClass: "",
    disabled: false,
    clearable: false,
    maxlength: 500,
    showWordLimit: false,
    /*校验*/
    required: false,
    validator: '() => {}',
    regExp: '/.*/',
    errmsg: '',
    /*事件*/
    onChange: '(e) => {}',
    onFocus: '(e) => {}',
    onBlur: '(e) => {}'
  },
  {
    isCustomField: true,
    id: guID(),
    isShow: true,
    type: 'pulseDorsalis',
    /*标题*/
    label: "足背动脉搏动",
    labelTextAlign: 0, // 0: 左对齐  1：居中   2：右对齐
    isLabelWidth: true,
    labelWidth: 90,
    unit: '', // 单位
    /*表单*/
    width: "",
    key1: `pulseDorsalisState`,
    key2: `pulseDorsalisDegree`,
    value1: "", // 状态值
    value2: "", // 程度
    defaultValue: "",
    options: [],
    placeholder: "请选择",
    customClass: "",
    disabled: false,
    clearable: false,
    maxlength: 500,
    showWordLimit: false,
    /*校验*/
    required: false,
    validator: '() => {}',
    regExp: '/.*/',
    errmsg: '',
    /*事件*/
    onChange: '(e) => {}',
    onFocus: '(e) => {}',
    onBlur: '(e) => {}'
  },
  {
    isCustomField: true,
    id: guID(),
    isShow: true,
    type: 'medicine',
    /*标题*/
    label: "用药情况",
    labelTextAlign: 0, // 0: 左对齐  1：居中   2：右对齐
    isLabelWidth: true,
    labelWidth: 90,
    unit: '', // 单位
    /*表单*/
    width: "",
    key: `medicalInfo`,
    value: [], // 状态值
    defaultValue: "",
    options: [],
    placeholder: "请输入",
    customClass: "",
    disabled: false,
    clearable: false,
    maxlength: 500,
    showWordLimit: false,
    /*校验*/
    required: false,
    validator: '() => {}',
    regExp: '/.*/',
    errmsg: '',
    /*事件*/
    onChange: '(e) => {}',
    onFocus: '(e) => {}',
    onBlur: '(e) => {}'
  },
]